import { ValidatorOptions } from "@nestjs/common/interfaces/external/validator-options.interface";

export interface ValidationPipeOptions extends ValidatorOptions {
  transform?: boolean;
  disableErrorMessages?: boolean;
}

let validationPipeOptions : ValidationPipeOptions = {
  transform: true,
  skipMissingProperties: true,
  groups: ["CREATE", "REPLACE"]
}

export { validationPipeOptions  }
